cmd/go/internal/modfetch: retry failed fetches#72019
cmd/go/internal/modfetch: retry failed fetches#72019redloaf wants to merge 1 commit intogolang:masterfrom
Conversation
Attempts to fetch go modules are not retried, impacting the reliability of many go toolchain commands, especially when a go module proxy is used. This adds a repo implementation to cmd/go/internal/modfetch that retries failed operations with exponential backoff unless errors are known to be permanent. Fixes golang#28194.
|
This PR (HEAD: 0427204) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/653515. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653515. |
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/653515. |
|
Message from Michael Matloob: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653515. |
Attempts to fetch go modules are not retried, impacting the reliability of many go toolchain commands, especially when a go module proxy is used. This adds a repo implementation to cmd/go/internal/modfetch that retries failed operations with exponential backoff unless errors are known to be permanent.
Fixes #28194.